//
//  MYHomeMiddleButton.swift
//  MYWeiBo
//
//  Created by apple on 16/5/15.
//  Copyright © 2016年 YanMo. All rights reserved.
//

import UIKit

class MYHomeMiddleButton: UIButton {

    override func layoutSubviews() {
        super.layoutSubviews()
        //文字在左边，图片在右边
        titleLabel?.frame.origin.x = 0
        imageView?.frame.origin.x = titleLabel!.frame.size.width + 3
    }
}
